<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">

  <head>
    <meta charset="utf-8">
    <title>社团管理系统</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="author" content="Bluth Company">
    <link rel="shortcut icon" href="/study/study/Public/assets/ico/favicon.html">
    <link href="/study/study/Public/assets/css/bootstrap.css" rel="stylesheet">
    <link href="/study/study/Public/assets/css/theme.css" rel="stylesheet">
    <link href="/study/study/Public/assets/css/font-awesome.min.css" rel="stylesheet">
    <link href="/study/study/Public/assets/css/alertify.css" rel="stylesheet">
    <link href="/study/study/Public/assets/css/colorpicker.css" rel="stylesheet">
    <link href="/study/study/Public/assets/css/datepicker.css" rel="stylesheet">
    <link href="/study/study/Public/assets/css/timepicker.css" rel="stylesheet">
    <link href="/study/study/Public/assets/css/select2.css" rel="stylesheet">

    
    <link rel="Favicon Icon" href="favicon.ico">
  
    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
  </head>
  <body>
    <div id="wrap">
    <div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container-fluid">
          <div class="logo">
            <img src="/study/study/Public/assets/img/logo.png" alt="Realm Admin Template">
          </div>
           <a class="btn btn-navbar visible-phone" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>
           <a class="btn btn-navbar slide_menu_left visible-tablet">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>

          <div class="top-menu visible-desktop">
            <ul class="pull-left">
           
            </ul>
            <ul class="pull-right">  
              <li><a href="<?php echo U('Login/logout');?>"><i class="icon-off"></i> Logout</a></li>
            </ul>
          </div>

          <div class="top-menu visible-phone visible-tablet">
            <ul class="pull-right">  
              <li><a title="link to View all Messages page, no popover in phone view or tablet" href="#"><i class="icon-envelope"></i></a></li>
              <li><a title="link to View all Notifications page, no popover in phone view or tablet" href="#"><i class="icon-globe"></i></a></li>
              <li><a href="<?php echo U('Login/logout');?>"><i class="icon-off"></i> </a></li>
            </ul>
          </div>

        </div>
      </div>
    </div>

    <div class="container-fluid">

      <!-- Side menu -->  
      <div class="sidebar-nav nav-collapse collapse">
        <div class="user_side clearfix">
          <img src="/study/study/Public/assets/img/odinn.jpg" alt="Odinn god of Thunder">
          <h5>Admin</h5>
          <a href="#"><i class="icon-cog"></i> Settings</a>        
        </div>
        <div class="accordion" id="accordion2">
          <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle b_F79999" href="index-2.html"><i class="icon-dashboard"></i> <span>功能列表</span></a>
            </div>
          </div>
          <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle b_C3F7A7 collapsed" data-toggle="collapse" data-parent="#accordion2" href="#collapse1"><i class="icon-magic"></i> <span>用户管理</span></a>
            </div>
            <div id="collapse1" class="accordion-body collapse">
              <div class="accordion-inner">
                <a class="accordion-toggle" href="users"><i class="icon-star"></i> 用户列表</a>
                <a class="accordion-toggle" href="userAdd"><i class="icon-list-alt"></i>用户添加</a>
                <a class="accordion-toggle" href="#"><i class="icon-table"></i> 用户删除</a>
                <a class="accordion-toggle" href="#"><i class="icon-circle"></i> 用户修改</a>
              </div>
            </div>
          </div>
          <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle b_9FDDF6 collapsed" data-toggle="collapse" data-parent="#accordion2" href="#collapse2"><i class="icon-reorder"></i> <span>社团管理</span></a>
            </div>
            
            <div id="collapse2" class="accordion-body collapse">
              <div class="accordion-inner">
                <a class="accordion-toggle" href="groups"><i class="icon-rss"></i> 社团列表</a>
                <a class="accordion-toggle" href="groupAdd"><i class="icon-rss"></i> 社团添加</a>
                <a class="accordion-toggle" href="groups"><i class="icon-calendar"></i> 社团删除</a>
 			    <a class="accordion-toggle" href="groups"><i class="icon-calendar"></i> 社团修改</a>
              </div>
            </div>
          </div>
          
             <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle b_9FDDF6 collapsed" data-toggle="collapse" data-parent="#accordion2" href="#collapse2"><i class="icon-reorder"></i> <span>社团活动管理</span></a>
            </div>
            
            <div id="collapse2" class="accordion-body collapse">
              <div class="accordion-inner">
                <a class="accordion-toggle" href="groups"><i class="icon-rss"></i> 社团列表</a>
                <a class="accordion-toggle" href="groups"><i class="icon-rss"></i> 社团活动添加</a>
                <a class="accordion-toggle" href="Practices"><i class="icon-calendar"></i> 社团活动删除</a>
 			    <a class="accordion-toggle" href="Practices"><i class="icon-calendar"></i> 社团活动修改</a>
              </div>
            </div>
          </div>
          
          <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle b_F6F1A2" href="tasks.html"><i class="icon-tasks"></i> <span>最新动态管理</span></a>
            </div>
          </div>

        </div>
      </div>
      <!-- /Side menu -->

      <!-- Main window -->

<div class="main_container" id="forms_page">
        <div class="row-fluid">
          <ul class="breadcrumb">
            <li><a href="#">Home</a> <span class="divider">/</span></li>
            <li><a href="#">Features</a> <span class="divider">/</span></li>
            <li class="active">Forms</li>
          </ul>
          <h2 class="heading">
             管理员信息修改
          </h2>
        </div>
        
        <div class="row-fluid">
          <div class="widget widget-padding span12">
          
            <div class="widget-header">
              <i class="icon-list-alt"></i><h5>管理员信息</h5>
              
              <div class="widget-buttons">
                  <a href="#" data-title="Collapse" data-collapsed="false" class="tip collapse" data-original-title=""><i class="icon-chevron-up"></i></a>
              </div>
            </div>
            
            <div class="widget-body">
              <div class="widget-forms clearfix">
              
                <form class="form-horizontal" method="post"  enctype="multipart/form-data" action="updateAdmin" >
                
   					<input type="hidden" name="uid" value="<?php echo ($admins["uid"]); ?>">

                  <div class="control-group">
                     <label for="username" class=" control-label">管理员帐户</label>
                    <div class="controls">
                       <input type="text" class="form-control" id="username" name="username" placeholder="username" value="<?php echo ($admins["username"]); ?>" disabled="disabled">
                    </div>
                  </div>
                  
                       <div class="control-group">
                     <label for="pass"class="control-label">原密码</label>
                    <div class="controls">
          				 <input type="password" class=" form-control " id="pass" name="pastpass" placeholder="password" value="">
                    </div>
                  </div>
                  
                       <div class="control-group">
                     <label for="pass" class="col-md-2 control-label">新密码</label>
                    <div class="controls">
                     <input type="text" class="form-control" id="pass" name="pass" placeholder="new password" value="">
                    </div>
                  </div>
                  
                     <div class="control-group">
                     <label for="pass2" class="col-md-2 control-label">新密码确认</label>
                    <div class="controls">
                     <input type="text" class="form-control" id="pass2" name="pass2" placeholder="confirm password" value="">
                    </div>
                  </div>
                  
			<div class="widget-footer">
               <button class="btn btn-primary" type="submit">Save</button>
               <button class="btn" type="button">Cancel</button>
            </div>
            </form>
				
 </div>
 
         
          </div>
        </div>  
        



    </div><!--/.fluid-container-->
    </div><!-- wrap ends-->

    <!-- Example Modal -->
    <div id="example_modal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
        <h3 id="myModalLabel">Add user/employee</h3>
      </div>
      <div class="modal-body">
        <p>Here you can insert the user creation form</p>
      </div>
      <div class="modal-footer">
        <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
        <button class="btn btn-primary">Save changes</button>
      </div>
    </div>  

    <script type="text/javascript" src="/study/study/Public/assets/js/jquery.min.js"></script>
    <script type="text/javascript" src="/study/study/Public/assets/js/jquery-ui.min.js"></script>
    <script type="text/javascript" src="/study/study/Public/assets/js/raphael-min.js"></script>
    <script type="text/javascript" src="/study/study/Public/assets/js/bootstrap.js"></script>
    <script type="text/javascript" src='/study/study/Public/assets/js/sparkline.js'></script>
    <script type="text/javascript" src='/study/study/Public/assets/js/morris.min.js'></script>
    <script type="text/javascript" src="/study/study/Public/assets/js/jquery.dataTables.min.js"></script>   
    <script type="text/javascript" src="/study/study/Public/assets/js/jquery.masonry.min.js"></script>   
    <script type="text/javascript" src="/study/study/Public/assets/js/jquery.imagesloaded.min.js"></script>   
    <script type="text/javascript" src="/study/study/Public/assets/js/jquery.facybox.js"></script>   
    <script type="text/javascript" src="/study/study/Public/assets/js/jquery.alertify.min.js"></script> 
    <script type="text/javascript" src="/study/study/Public/assets/js/jquery.knob.js"></script>
    <script type='text/javascript' src='/study/study/Public/assets/js/fullcalendar.min.js'></script>
    <script type='text/javascript' src='/study/study/Public/assets/js/jquery.gritter.min.js'></script>
    <script type="text/javascript" src="/study/study/Public/assets/js/realm.js"></script>
    <script type="text/javascript" src="/study/study/Public/assets/js/select2.min.js"></script>
    <script type="text/javascript" src="/study/study/Public/assets/js/bootstrap-colorpicker.js"></script>
    <script type="text/javascript" src="/study/study/Public/assets/js/bootstrap-datepicker.js"></script>
    <script type="text/javascript" src="/study/study/Public/assets/js/bootstrap-timepicker.js"></script>
    
  </body>
</html>